@@ -1,30 +0,0 @@
-# Note: this file has been initially generated by Module::Build::Convert 0.49
-
-use Module::Build;
-
-use lib 'inc';
-use MyBuilder;
-
-my $build = MyBuilder->new
- (
- module_name => 'Perl::Version',
- dist_author => 'Andy Armstrong <andy@hexten.net>',
- dist_version_from => 'lib/Perl/Version.pm',
- requires => {
- 'File::Slurp' => '9999.12',
- 'Getopt::Long' => '2.34',
- 'Pod::Usage' => '1.3',
- 'Scalar::Util' => 0,
- 'Test::More' => 0,
- },
- PL_files => {},
- add_to_cleanup => [
- 'Perl-Version-*'
- ],
- sign => 1,
- license => 'perl',
- create_readme => 1,
- create_makefile_pl => 'traditional',
- );
-
-$build->create_build_script;
@@ -81,3 +81,7 @@ Revision history for Perl-Version
1.010 2010-09-19
Install perl-reversion by default.
+
+1.011 2011-02-21
+ Remove Build.PL which didn't install perl-reversion.
+
@@ -1,7 +1,5 @@
-Build.PL
Changes
examples/perl-reversion
-inc/MyBuilder.pm
lib/Perl/Version.pm
Makefile.PL
MANIFEST
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Perl-Version
-version: 1.010
+version: 1.011
abstract: Parse and manipulate Perl version strings
author:
- Andy Armstrong <andy@hexten.net>
@@ -1,4 +1,4 @@
-Perl-Version version 1.010
+Perl-Version version 1.011
INSTALLATION
@@ -14,16 +14,14 @@ not run its Makefile.PL or Build.PL.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 83f5378a32733bd87552bf639e0466d6b88fe2a4 Build.PL
-SHA1 bcedf0013b936b55a1d3ce4cdf4360959db61f12 Changes
-SHA1 692f92ebb5701f09cc28c46a93423a59224b95ad MANIFEST
-SHA1 1fc366a2da7f07765ccc739bb48a80a21a635e92 META.yml
+SHA1 f608b641f1d2c03d464ed57dd902577b462bc317 Changes
+SHA1 3ee18e11b53afc35131b767e7248fef6c3960d1d MANIFEST
+SHA1 d2d25536c5fcbba6b0dd2416a4b16bc1c20e52fb META.yml
SHA1 1b710a676c5e8b43f645d7fe9d4422a7a3c99d98 Makefile.PL
SHA1 df4661cecee13af66d38c6db4f7a7c2f5543b011 Notes.txt
-SHA1 d480f9add98463f0600e26bded1cc3c7fd35cd9e README
-SHA1 04e504f60ee07a3e34c794736834e00bb7756479 examples/perl-reversion
-SHA1 8c97bbeb63b586ee9c722313c2ad7858e32ff52c inc/MyBuilder.pm
-SHA1 9f7c53ace0322612f0f2a045207d103532dc6194 lib/Perl/Version.pm
+SHA1 750ad8c2772cda279c5311d58d775812c5daac1e README
+SHA1 12a61c08de4f12417ea341e9d27d840ccd9f493b examples/perl-reversion
+SHA1 8c66bd4c8ea5ed18091e8ec58a8af97292a63a08 lib/Perl/Version.pm
SHA1 971de73a2bff6e5c7540297c67abe34b44edcff6 t/00.load.t
SHA1 bf558d22ecaeb972056f5f7688222de665557e1f t/05.misc.t
SHA1 4921e1494d235523cfe2381cdba207cb8a3a78c5 t/10.regression.t
@@ -34,9 +32,9 @@ SHA1 8c049d1fe65af78a4c01ebcc7d81f37b65b15738 t/manifest.t
SHA1 cdb839a1f20c8c7f83565960e0da0b34ddbc87db t/pod-coverage.t
SHA1 0190346d7072d458c8a10a45c19f86db641dcc48 t/pod.t
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.10 (GNU/Linux)
+Version: GnuPG v1.4.11 (Darwin)
-iEYEARECAAYFAkyWLg4ACgkQwoknRJZQnCEywQCfW8fSiV6b1WPAAMcpKBsCKQtX
-QpwAn2HH0kM7SYeAVD08peDGNZDb9k1q
-=OZXW
+iEYEARECAAYFAk1i2agACgkQwoknRJZQnCFbggCeO5g3Xe9QfPwRyUgG1+fDX6Fl
+5MIAniNOgbKiagLAuDBP2+eE1lFemYJ0
+=RWMo
-----END PGP SIGNATURE-----
@@ -46,7 +46,7 @@ my %CONSIDER = (
my $MAX_UP = 5;
# Directories to skip during expansion
-my $SKIP = qr{^ [.]svn | CVS | [.]DS_Store $}x;
+my $SKIP = qr{^ [.]svn | CVS | [.]DS_Store | [.]git $}x;
# Subroutines to identify file types
my @MAGIC = (
@@ -1,88 +0,0 @@
-package MyBuilder;
-
-use base qw( Module::Build );
-
-sub create_build_script {
- my ( $self, @args ) = @_;
- $self->_auto_mm;
- return $self->SUPER::create_build_script( @args );
-}
-
-sub _auto_mm {
- my $self = shift;
- my $mm = $self->meta_merge;
- my @meta = qw( homepage bugtracker MailingList repository );
- for my $meta ( @meta ) {
- next if exists $mm->{resources}{$meta};
- my $auto = "_auto_$meta";
- next unless $self->can( $auto );
- my $av = $self->$auto();
- $mm->{resources}{$meta} = $av if defined $av;
- }
- $self->meta_merge( $mm );
-}
-
-sub _auto_repository {
- my $self = shift;
- if ( -d '.svn' ) {
- my $info = `svn info .`;
- return $1 if $info =~ /^URL:\s+(.+)$/m;
- }
- elsif ( -d '.git' ) {
- my $info = `git remote -v`;
- return unless $info =~ /^origin\s+(.+)$/m;
- my $url = $1;
- # Special case: patch up github URLs
- $url =~ s!^git\@github\.com:!git://github.com/!;
- return $url;
- }
- return;
-}
-
-sub _auto_bugtracker {
- 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=' . shift->dist_name;
-}
-
-sub ACTION_testauthor {
- my $self = shift;
- $self->test_files( 'xt/author' );
- $self->ACTION_test;
-}
-
-sub ACTION_critic {
- exec qw( perlcritic -1 -q -profile perlcriticrc lib/ ), glob 't/*.t';
-}
-
-sub ACTION_tags {
- exec(
- qw(
- ctags -f tags --recurse --totals
- --exclude=blib
- --exclude=.svn
- --exclude='*~'
- --languages=Perl
- t/ lib/
- )
- );
-}
-
-sub ACTION_tidy {
- my $self = shift;
-
- my @extra = qw( Build.PL );
-
- my %found_files = map { %$_ } $self->find_pm_files,
- $self->_find_file_by_type( 'pm', 't' ),
- $self->_find_file_by_type( 'pm', 'inc' ),
- $self->_find_file_by_type( 't', 't' );
-
- my @files = ( keys %found_files,
- map { $self->localize_file_path( $_ ) } @extra );
-
- for my $file ( @files ) {
- system 'perltidy', '-b', $file;
- unlink "$file.bak" if $? == 0;
- }
-}
-
-1;
@@ -5,7 +5,7 @@ use strict;
use Carp;
use Scalar::Util qw( blessed );
-our $VERSION = '1.010';
+our $VERSION = '1.011';
use overload (
'""' => \&stringify,
@@ -371,7 +371,7 @@ Perl::Version - Parse and manipulate Perl version strings
=head1 VERSION
-This document describes Perl::Version version 1.010
+This document describes Perl::Version version 1.011
=head1 SYNOPSIS